__author__ = 'Tins'
import logging


class MyErrorHandler(logging.Handler):
    def emit(self, record):
      print "handling error: %s" % record